#pragma once
#include "Fysics/Renderer/IndexBuffer.h"

namespace Fysics
{
	class OpenGLIndexBuffer : public IndexBuffer
	{
	private:
		unsigned int m_RendererID;
		unsigned int m_Count;
	public:
		OpenGLIndexBuffer(unsigned int* indices, unsigned int count);
		virtual ~OpenGLIndexBuffer();

		virtual void Bind() const override;
		virtual void UnBind() const override;

		virtual unsigned int GetCount() const override { return m_Count; }
	};
}